﻿using Gp.Scripts.Core;

namespace Gp.Scripts.Data.Skills {

    public interface IAggressiveSkill {
        /// <summary>
        /// 未经加成的伤害
        /// </summary>
        /// <returns></returns>
        int RawDamage { get; }
    }
    
    public abstract class AggressiveMagicSkillEntity<T> : MagicSkillEntity<T>, IAggressiveSkill where T : MagicEntityConfig {
        // protected AggressiveMagicSkillEntity(T data) : base(data) { }
        public virtual int RawDamage => 0;

        //
        // public override AttackActionResult PreCalculateResult(BaseUnit unit) {
        //     return RawDamage == 0 ? null : MagicAtkAction(unit, RawDamage);
        // }
    }
}